<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" >
		<title>医院护工-介绍</title>
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/sytle.css">
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-2.1.4.min.js"></script>
	</head>
	<body style="background: #f1f1f1;">
		<div class="page">
			<header>
			    <div class="navbar">
			        <ul>
				        <li class="l-back">
				        <a href="javascript:history.go(-1)" >
				        <img src="${pageContext.request.contextPath}/images/left.png" alt="返回"/>
				        </a>
				        </li>
				        <li class="n-word">医院护工</li>
			        </ul>
			    </div>
		   </header>
		   <div class="bm_introduce">
		   		<div class="bm_introduce_banner">
		   			<img src="${pageContext.request.contextPath}/images/yyhg-banner.png">
		   		</div>
		   		<div class="bm_fwjs">
		   			<h3><span></span>服务介绍</h3>
		   			<p class="bm_fwjs_txt">嘿管家认证的医院陪护，经过专业职业培训，能提供全面周到的陪护服务，减轻病人家属的护理负担，辅助病人早日康复</p>
		   		</div>
		   		<div class="bm_fwjs">
		   			<h3><span></span>温馨提示</h3>
		   			<p class="bm_fwjs_txt">1、医院护工日常工作：为患者擦洗、喂饭、帮助患者行动等</p>
		   			<p class="bm_fwjs_txt">2、医院护工工作按天结算</p>
		   			<p class="bm_fwjs_txt">3、本服务由嘿管家合作服务商提供</p>
		   		</div>
		   </div>
		  
		     <form action="${pageContext.request.contextPath}/goods/hospitalWorker.html" id="myForm" name="myForm">
			  	 <button class="footer_fix" type="button" onclick="checkContact();">立即预约</button>
			 </form>
		   
		</div>
		<script type="text/javascript">
		function checkContact(){
			$.ajax({
			 	url:"/members/checkContact.json",
				success: function(data){
					if(parseInt(data.info)==1){
						$('#myForm').submit();
					}
					if(parseInt(data.info)==0){
						window.location = "${pageContext.request.contextPath}/members/setUpContact.html";
					}  
				}
			});
		}
		</script>
	</body>
</html>